[USER (data scientist)]: Thanks! What about the relationship between credit history and loan duration? Please generate the code with the output in dataframe type.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd  
from sklearn.preprocessing import LabelEncoder
import pickle
from decision_company import read_csv_file, df_copy, encoder_instance, encode_column, corr, avg, fetch_column, bind_dataframe

# Load the dataset  
credit_customers = read_csv_file("credit_customers.csv")  
  
# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]   
</code1>
# YOUR SOLUTION END

# Print the relationship   
print("\nRelationship between credit history and loan duration:\n", credit_history_duration_relationship)   

# save data
pickle.dump(credit_history_duration_relationship, open("./pred_result/credit_history_duration_relationship.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: To check that out, you can use this code:

# MY SOLUTION BEGIN:
